package com.glodon.ggzy.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * GgJsProjManagerPerson entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "GG_JS_PROJ_MANAGER_PERSON")
public class GgJsProjManagerPerson implements java.io.Serializable {

	// Fields    

	private String id;

	private String agentId;

	private String personName;

	private String personJob;

	private String personPhone;

	private String remark;

	// Constructors

	/** default constructor */
	public GgJsProjManagerPerson() {
	}

	/** full constructor */
	public GgJsProjManagerPerson(String agentId, String personName, String personJob, String personPhone, String remark) {
		this.agentId = agentId;
		this.personName = personName;
		this.personJob = personJob;
		this.personPhone = personPhone;
		this.remark = remark;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "ID", unique = true, nullable = false, length = 40)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "AGENT_ID", length = 40)
	public String getAgentId() {
		return this.agentId;
	}

	public void setAgentId(String agentId) {
		this.agentId = agentId;
	}

	@Column(name = "PERSON_NAME", length = 100)
	public String getPersonName() {
		return this.personName;
	}

	public void setPersonName(String personName) {
		this.personName = personName;
	}

	@Column(name = "PERSON_JOB", length = 100)
	public String getPersonJob() {
		return this.personJob;
	}

	public void setPersonJob(String personJob) {
		this.personJob = personJob;
	}

	@Column(name = "PERSON_PHONE", length = 100)
	public String getPersonPhone() {
		return this.personPhone;
	}

	public void setPersonPhone(String personPhone) {
		this.personPhone = personPhone;
	}

	@Column(name = "REMARK", length = 512)
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
